package com.gxwgy.wg2404.pojo;

/**
 * @author 姚相国
 * @version 1.0
 * @className EventsPojo
 * @date 2024/12/17 23:18
 */
public class EventsPojo {
    private String id; //活动的唯一标识(主键)
    private String name; //活动名称
    private String description; //活动描述
    private String start_time;//活动开始时间
    private String end_time;//活动结束时间
    private String location;//活动地点
    private int capacity;//活动最大报名人数
    private int current_enrollment;//当前报名人数
    private String status;// 活动状态（如报名中、已结束等)
    private String updated_at;// 活动信息最后更新时间
    private String created_at;// 活动创建时间

    public EventsPojo() {
    }

    @Override
    public String toString() {
        return "EventsPojo{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", start_time='" + start_time + '\'' +
                ", end_time='" + end_time + '\'' +
                ", location='" + location + '\'' +
                ", capacity=" + capacity +
                ", current_enrollment=" + current_enrollment +
                ", status='" + status + '\'' +
                ", updated_at='" + updated_at + '\'' +
                ", created_at='" + created_at + '\'' +
                '}';
    }

    public EventsPojo(String id, String name, String description, String start_time, String end_time, String location, int capacity, int current_enrollment, String status, String updated_at, String created_at) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.start_time = start_time;
        this.end_time = end_time;
        this.location = location;
        this.capacity = capacity;
        this.current_enrollment = current_enrollment;
        this.status = status;
        this.updated_at = updated_at;
        this.created_at = created_at;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public int getCapacity() {
        return capacity;
    }

    public void setCapacity(int capacity) {
        this.capacity = capacity;
    }

    public int getCurrent_enrollment() {
        return current_enrollment;
    }

    public void setCurrent_enrollment(int current_enrollment) {
        this.current_enrollment = current_enrollment;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }
}
